#ifndef WDATA_H
#define WDATA_H

#include <QString>

class Today{
public:

    double precipitation;//降水
    double temperature;//当前温度
    double pressure;//气压
    double humidity;//湿度
    QString windDirection;//风向
    QString windScale;//风力
    QString city;
    Today(){
        city = "北京";
        precipitation = 0.0;
        temperature = 16.7;
        pressure = 1014.0;
        humidity = 61.0;
        windDirection = "西南风";
        windScale = "微风";
    }

};

class Day{

public:
    /*
                "date": "2024/10/22",
                "high": 16.0,
                "dayText": "晴",
                "dayWindDirection": "东北风",
                "dayWindScale": "微风",
                "low": 3.0,
                "nightText": "晴",
*/

    QString date;
    double high;
    QString dayText;
    QString dayWindDirection;
    QString dayWindScale;
    double low;
    QString nightText;

    Day(){
        date = "2024/09/05";
        high = 16.0;
        dayText = "多云";
        dayWindDirection = "东北风";
        dayWindScale = "微风";
        low = 3.0;
        nightText = "晴";
    }
};


#endif // WDATA_H
